package com.javenwong.android.engine.script;

/**
 * 物品对象
 * @author 王晓锋
 * @version 1.00
 * @date 2011-09-05
 */
public class Goods {

	//物品类型
	public static final byte GOODS_TYPE_ARM = 0;		//武器
	public static final byte GOODS_TYPE_DEFENSE = 1;		//防具
	public static final byte GOODS_TYPE_ADORNMENT  = 2;		//饰品
	public static final byte GOODS_TYPE_NORMAL = 3;		//普通物品
	public static final byte GOODS_TYPE_TASK = 4;		//任务物品
	public static final byte GOODS_TYPE_REEL = 5;		//合成卷轴
	
	//物品可装备位置
	public static final byte GOODS_POSITION_HEAD = 0;		//头部
	public static final byte GOODS_POSITION_SHOULDER = 1;	//肩膀
	public static final byte GOODS_POSITION_UPPER = 2;		//上身
	public static final byte GOODS_POSITION_WAIST = 3;		//腰部
	public static final byte GOODS_POSITION_LEGS = 4;		//腿部
	public static final byte GOODS_POSITION_HAND = 5;		//手部

	public byte id;			//id
	public String name;		//物品名称

	public byte type;		//物品类型
	public byte position;	//装备部位 
	
	public short attack;		//攻击力
	public short attackTime;
	public short defence;		//防御力
	public short defenceTime;
	public short thump;		//重击率
	public short thumpTime;
	public short addhp;		//加生命
	public short addhpTime;
	public short addmp;		//加魔法
	public short addmpTime;
	public short sidestep;	//闪避率
	public short sidestepTime;
	public short price;		//价格
	public byte level;		//物品等级
	public String desc;		//物品描述
}
